if __name__ == '__main__':
    lt = ["lgx", "hxm", "lx"]

    while True:
        b = 0
        cont = input("请输入：")
        if cont == "n" or cont == "N":
            print("结束检测")
            break
        for i in range(len(lt)):
            if cont not in lt:
                print(cont)
                break
            for j in lt[i]:
                if j in cont:
                    b += 1
                    if b >= len(lt[i]):
                        print("包含敏感字符")
                    else:
                        print(cont)
